package com.karson.common.model;


import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(defaultValue = "User对象", description = "用户表")
@TableName("ar_user")
public class User {
    @Schema(description="用户id")
    @TableId(value = "uid", type = IdType.AUTO)
    private Integer uid;
    @Schema(description="用户账号")
    private String account;
    @Schema(description="用户密码")
    private String pwd;
    @Schema(description="真实姓名")
    private String realName;
    @Schema(description="生日")
    private String birthday;
    @Schema(description="身份证号码")
    private String cardId;
    @Schema(description="用户备注")
    private String mark;
    @Schema(description="用户昵称")
    private String nickname;
    @Schema(description="用户头像")
    private String avatar;
    @Schema(description="手机号码")
    private String phone;
    @Schema(description="添加ip")
    private String addIp;
    @Schema(description="最后一次登录ip")
    private String lastIp;
    @Schema(description="用户类型")
    private String userType;
    @Schema(description="创建时间")
    private Date createdAt;
    @Schema(description="更新时间")
    private Date updatedAt;
    @Schema(description="最后一次登录时间")
    private Date lastLoginTime;
    @Schema(description="清除时间")
    private Date cleanTime;
    @Schema(description="账号是否被封禁")
    private Boolean status;
}
